package com.daykw.ip;

import org.apache.log4j.Logger;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Hello world!
 *
 */

@ComponentScan(basePackages = "com.daykw")
@EnableAspectJAutoProxy(exposeProxy = true)
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class App {
	private static Logger logger = Logger.getLogger(App.class);

	public static void main(String[] args) {

		SpringApplicationBuilder builder = new SpringApplicationBuilder(App.class);

		builder.web(false).run(args);

		logger.info("##########spring boot 启动成功##########");

	}
}
